package com.itheima.edu.info.manager.service;

import com.itheima.edu.info.manager.dao.BaseStudentDao;
import com.itheima.edu.info.manager.domain.Student;
import com.itheima.edu.info.manager.factory.StudentDaoFactory;

public interface StudentService {
    //创建studentDao对象
    BaseStudentDao studentDao = StudentDaoFactory.getStudentDao();

    boolean addStudent(Student student);

    boolean isExists(String id) ;

    boolean delectStudent(String id);

    Student selectStudents(String id);

    Student updataStudent(Student student);

    Student[] findAllStudent();
}